<div class="col-xs-12">
	<div class="row">
		<form class="form-horizontal" role="form" id="form" action="{:U('Dropdown/edit')}">
			<div class="form-group">
				<input type="hidden" name="id" value="{$data.id}">
				<include file="template:input" name="module" label="模块" value="{$data.module}"  attr='data-rule="required;length(~30)" maxlength="30"'/>
				<include file="template:input" name="name" label="名称" value="{$data.name}"  attr='data-rule="required;length(~50)" maxlength="50"'/>
				<include file="template:integer" name="code" label="值" value="{$data.code}"  attr='data-rule="required;length(~10)" maxlength="10"'/>
				<include file="template:input" name="val" label="名称" value="{$data.val}"  attr='data-rule="required;length(~50)" maxlength="50"'/>
				<include file="template:integer" name="sort" label="排序" value="{$data.sort}"  attr='data-rule="required;length(~10)" maxlength="10"'/>
			</div>
			<div class="form-group" style="margin-top: 20px;">
				<include file="template:button" label="保存"/>
			</div>
		</form>
	</div>
</div>